ComponentOne ASP.NET MVC Controls
HtmlAttribute Method

C1.Web.Mvc.Fluent Namespace > ControlBuilder<TControl,TBuilder> Class : HtmlAttribute Method
The key of the HTML attribute.
The value of the HTML attribute.
Configurates C1.Web.Mvc.Control.HtmlAttributes. Sets the HTML attributes.
Syntax
'Declaration
 
Public Function HtmlAttribute( _
   ByVal key As String, _
   ByVal value As String _
) As TBuilder
public TBuilder HtmlAttribute( 
   string key,
   string value
)

Parameters

key
The key of the HTML attribute.
value
The value of the HTML attribute.

Return Value

Current builder.
See Also

Reference

ControlBuilder<TControl,TBuilder> Class
ControlBuilder<TControl,TBuilder> Members